package service;

public class TestMethod {

    public static void main(String[] args) {
        Sub subRef = new Sub();
        MyThreadA a = new MyThreadA(subRef);
        a.setName("A");
        a.start();

        MyThreadA b = new MyThreadA(subRef);
        b.setName("B");
        b.start();

    }
}
